package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    //根据时间查询预约信息
    public OrderSetting findByOrderDate(Date parseString2Date);

    public Long findCountByOrderDate(Date date);

    public void editNumberByOrderDate(OrderSetting orderSetting);

    public void add(OrderSetting orderSetting);

    public List<Map> getOrderSettingByMonth(String date);

    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);
}
